package com.example.demo.Dao;

import com.example.demo.Entity.BusinessEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BusinessDao {
    public List<BusinessEntity> get();

    public BusinessEntity getByAccounts(String accounts);

    public int updateByAccounts(String accounts, String username,String password,String address,String telephone,String avatar,String license,String status);

    public int addBusiness(String accounts, String username,String password,String address,String telephone,String avatar,String license);

    public int deleteBusiness(String accounts);
}
